import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

// 引入子模块
import home from '@/store/home'
import search from '@/store/search'

const state = {};

const actions = {};

const mutations = {};

const getters = {};

export default new Vuex.Store({
    state,
    actions,
    mutations,
    getters,
    modules:{
        home,
        search
    }
})